package com.xy.shop.web.service.impl;

import com.xy.shop.web.dao.OperationLogMapper;
import com.xy.shop.web.entity.OperationLog;
import com.xy.shop.web.service.OperationLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @Description
 * @Author jxp
 **/
@Service
public class OperationLogServiceImpl implements OperationLogService {

    @Resource
    private OperationLogMapper operationLogMapper;

    @Override
    public int insert(OperationLog record){
        return operationLogMapper.insert(record);
    }

    @Override
    public List<OperationLog> selectList(Map<String, Object> params) {
        return operationLogMapper.selectList(params);
    }
}
